package com.eascs.ticket.project.entity;

import java.io.Serializable;
import java.sql.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.eascs.ticket.common.entity.InsertEntity;

/**
 * The persistent class for the project_version database table.
 * 
 */
@Entity
@Table(name = "project_version")
@NamedQuery(name = "ProjectVersion.findAll", query = "SELECT p FROM ProjectVersion p")
public class ProjectVersion extends InsertEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	private String comments;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "end_time")
	private Date endTime;

	private String name;

	@Column(name = "project_id")
	private String projectId;

	@Column(name = "publish_prod_operator")
	private String publishProdOperator;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "publish_prod_time")
	private Date publishProdTime;

	@Column(name = "publish_prod_validated_operator")
	private String publishProdValidatedOperator;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "publish_prod_validated_time")
	private Date publishProdValidatedTime;

	private String status;

	public ProjectVersion() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Date getEndTime() {
		return this.endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public String getPublishProdOperator() {
		return this.publishProdOperator;
	}

	public void setPublishProdOperator(String publishProdOperator) {
		this.publishProdOperator = publishProdOperator;
	}

	public Date getPublishProdTime() {
		return this.publishProdTime;
	}

	public void setPublishProdTime(Date publishProdTime) {
		this.publishProdTime = publishProdTime;
	}

	public String getPublishProdValidatedOperator() {
		return this.publishProdValidatedOperator;
	}

	public void setPublishProdValidatedOperator(String publishProdValidatedOperator) {
		this.publishProdValidatedOperator = publishProdValidatedOperator;
	}

	public Date getPublishProdValidatedTime() {
		return this.publishProdValidatedTime;
	}

	public void setPublishProdValidatedTime(Date publishProdValidatedTime) {
		this.publishProdValidatedTime = publishProdValidatedTime;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getComments() {
		return comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

}